﻿using Microsoft.VisualBasic;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AnlianCommon.Common.Domains.SheepManagement
{
    /// <summary>
    /// 羊只死亡管理表
    /// </summary>
    public class SheepDie : BaseEntity
    {
        /// <summary>
        /// 序号
        /// </summary>
        [Key]
        public int SheepDieId { get; set; }
        /// <summary>
        /// 死亡日期
        /// </summary>
        public DateTime? DieDate { get; set; }
        /// <summary>
        /// 羊只耳号
        /// </summary>
        public string? SheepNumber { get; set; }
        /// <summary>
        /// 死亡原因(1.腹泻 2.肺炎 3.产前瘫 4.产后瘫 5.酸中毒 6.应激猝死 7.梭卷 8.尿结石 9.发热 10.脱肛 11.黄疸 12.猝死 )
        /// </summary>
        public int? DieReason { get; set; }
        /// <summary>
        /// 品种
        /// </summary>
        public string? SheepBreed { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public bool? SheepSex { get; set; }
        /// <summary>
        /// 繁殖状态
        /// </summary>
        public string? ReproductiveState { get; set; }
        /// <summary>
        /// 死亡月龄
        /// </summary>
        public int? DieMonth { get; set; }
        /// <summary>
        /// 死亡日龄
        /// </summary>
        public int? DieDay { get; set; }
        /// <summary>
        /// 死亡栋舍
        /// </summary>
        public string? DieHouse { get; set; }
        /// <summary>
        /// 死亡栏位
        /// </summary>
        public string? DieField { get; set; }
        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime? SheepBirthday { get; set; }
        /// <summary>
        /// 档案序号
        /// </summary>
        public int? SheepId { get; set; }
    }
}
